package com.redis.sdk.idempotent;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * IdmenpotentRedis
 *
 * @description: redis 幂等
 * @author: cyj
 * @date 2021 -12-23 10:41:16
 *
 *
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface IdmenpotentRedis {
    /**
     * 过期时间，单位s，默认10s
     *
     * @return the string
     */
    int value() default 10;
}
